// 1. 引入

import Vue from "vue";
import Vuex from "vuex";
import ShowModal from "./ShowModal";
import loginStatus from "./loginStatus";
import showToast from "./showToast";
import userInfo from "./userInfo";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {},
  getters: {},
  mutations: {},
  actions: {},
  // 2.映射
  modules: {
    ShowModal,
    loginStatus,
    showToast,
    userInfo,
  },
});
